package com.education.common.config;

import com.education.common.constants.Constants;
import com.education.common.model.JwtToken;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author 余一
 * @date 2021/9/17  14:41
 */
@Configuration
public class BeanConfiguration {

    @Bean
    public JwtToken adminJwtToken(){
        return new JwtToken(Constants.EDUCATION_ADMIN_SECRET_KEY);
    }
}
